package com.config.service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.config.entity.Equipment;

public interface EquipmentService {
	
	public void save(Equipment entity);
	
	public void delete(int id);
	
	public void update(Equipment entity);
	
	public Equipment getEquipment(int id);
	
	public List<Equipment> listByLine(Integer lineId);
	
	public int countByLine(Integer lineId);
	
	public List<Equipment> findByLine(Integer lineId,int start, int limit);
	
	public List<Equipment> findByEquModlId(int equMoldId);
	
	public Equipment getByEquNo(String equNo);
	
	/**
	 * 查询所有采集能耗数据的设备
	 * @return
	 */
	public Map<String,Object>  getAllEquipment();

}
